package com.kkks.spring_rest.tick.model;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

/**
 * AbstractWhoShipping entity provides the base persistence definition of the
 * WhoShipping entity. @author MyEclipse Persistence Tools
 */
@MappedSuperclass
public abstract class AbstractWhoShipping implements java.io.Serializable {

	// Fields

	private Short shippingId;
	private String shippingCode;
	private String shippingName;
	private String shippingDesc;
	private String insure;
	private String image;
	private Boolean enabled;
	private Integer gmtCreated;
	private Integer gmtModified;

	// Constructors

	/** default constructor */
	public AbstractWhoShipping() {
	}

	/** full constructor */
	public AbstractWhoShipping(String shippingCode, String shippingName,
			String shippingDesc, String insure, String image, Boolean enabled,
			Integer gmtCreated, Integer gmtModified) {
		this.shippingCode = shippingCode;
		this.shippingName = shippingName;
		this.shippingDesc = shippingDesc;
		this.insure = insure;
		this.image = image;
		this.enabled = enabled;
		this.gmtCreated = gmtCreated;
		this.gmtModified = gmtModified;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "shipping_id", unique = true, nullable = false)
	public Short getShippingId() {
		return this.shippingId;
	}

	public void setShippingId(Short shippingId) {
		this.shippingId = shippingId;
	}

	@Column(name = "shipping_code", nullable = false, length = 20)
	public String getShippingCode() {
		return this.shippingCode;
	}

	public void setShippingCode(String shippingCode) {
		this.shippingCode = shippingCode;
	}

	@Column(name = "shipping_name", nullable = false, length = 120)
	public String getShippingName() {
		return this.shippingName;
	}

	public void setShippingName(String shippingName) {
		this.shippingName = shippingName;
	}

	@Column(name = "shipping_desc", nullable = false)
	public String getShippingDesc() {
		return this.shippingDesc;
	}

	public void setShippingDesc(String shippingDesc) {
		this.shippingDesc = shippingDesc;
	}

	@Column(name = "insure", nullable = false, length = 10)
	public String getInsure() {
		return this.insure;
	}

	public void setInsure(String insure) {
		this.insure = insure;
	}

	@Column(name = "image", nullable = false, length = 30)
	public String getImage() {
		return this.image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	@Column(name = "enabled", nullable = false)
	public Boolean getEnabled() {
		return this.enabled;
	}

	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	@Column(name = "gmt_created", nullable = false)
	public Integer getGmtCreated() {
		return this.gmtCreated;
	}

	public void setGmtCreated(Integer gmtCreated) {
		this.gmtCreated = gmtCreated;
	}

	@Column(name = "gmt_modified", nullable = false)
	public Integer getGmtModified() {
		return this.gmtModified;
	}

	public void setGmtModified(Integer gmtModified) {
		this.gmtModified = gmtModified;
	}

}